# _*_ coding:utf-8 _*_
from django.conf.urls import url
from .views import post_view,upload_img, comment_verify, load_more, index_chart
from .views import ReviewDetail, praise_verify, ReviewSquare,search
urlpatterns = [
	url('^post_review/movie-(?P<mid>[0-9]+)/$', post_view, name='post_review'),
	url('^review_info/(?P<pk>\d+)/$', ReviewDetail.as_view(), name='review_detail'),
	url('^post_review/image/upload/(?P<dir_name>\w+)', upload_img, name='upload_img'),
	url('^review_info/commentverify/$', comment_verify, name='comment_verify'),
	url('^review_info/praiseverify/$', praise_verify, name='praise_verify'),
	url('^review_square/$', ReviewSquare.as_view(), name='review_square'),
	url('^review/load_more/$', load_more, name='load_more'),
	url('^chart/index/$', index_chart, name='chart_index'),
	url('^review/search/$', search, name='review_search')
]